package com.one.group.service;

import com.mybatisflex.core.service.IService;
import com.one.group.model.dto.RepairReportQueryDto;
import com.one.group.model.dto.UpdateRepairReportDto;
import com.one.group.model.dto.UpdateRepairReportStatusDto;
import com.one.group.model.entity.RepairReport;
import com.one.group.model.vo.RepairReportListVo;

import java.util.List;

public interface RepairReportService extends IService<RepairReport> {
    List<RepairReportListVo> findRepairReportByQueryDto(RepairReportQueryDto repairReportQueryDto);

    //根据dto中id修改状态
    boolean updateStatus(UpdateRepairReportStatusDto updateRepairReportStatusDto);

    boolean updateRepairReport(UpdateRepairReportDto updateRepairReportDto);

}
